﻿using System;
using System.Windows.Controls;

namespace RVBike
{
    public static class RVSwitcher
    {
        public static RVPageSwitcher Instance;

        public static void Switch(UserControl newPage)
        {
            Instance.Navigate(newPage);
        }

        public static void Switch(UserControl newPage, object state)
        {
            Instance.Navigate(newPage, state);
        }
    }
}
